package link.anyauto.dtbinding.main;

import android.databinding.DataBindingUtil;
import android.os.Bundle;

import link.anyauto.dtbinding.R;
import link.anyauto.dtbinding.base.ActBase;
import link.anyauto.dtbinding.databinding.ActMainBinding;

public class ActMain extends ActBase {

    @Override
    protected void setupBinding() {
        binding = DataBindingUtil.setContentView(this, R.layout.act_main);
    }

    @Override
    protected void setupHandlers() {
        handlers = new MainHandlers();
    }

    @Override
    protected void justAfterSetup() {
        handlers.ctx = this;
        binding.setHandlers(handlers);
    }

    ActMainBinding binding;
    MainHandlers handlers;
}
